import { handlerGetUrlParams } from '@/utils/dealUrlParams.js'
import request from '@/utils/request'

export function getTimeManageList(param) {
  const url = handlerGetUrlParams('/bus/openconfig/list', param)
  return request({
    url,
    method: 'GET',
  })
}

export function editTimeManageStatus(data) {
  return request({
    url: `/bus/openconfig`,
    method: 'PUT',
    data
  })
}
